package cn.t11.dm.user.service;


import cn.t11.dm.user.entity.DmUser;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(name = "USER-SERVICE")
public interface IDmUserService {

    @PostMapping("/user/api/p/login")
    DmUser getDmUserBy(@RequestBody DmUser dmUser);
}
